package com.example.tests;

import java.util.Set;

import org.testng.annotations.Test;

public class GroupRemovalTests extends TestBase {
	@Test
	public void testGroupCanBeRemoved() throws Exception {
		Set<GroupObject> oldList = app.getGroupHelper().getGroups();
		app.getGroupHelper().deleteGroup(null);
		Set<GroupObject> newList = app.getGroupHelper().getGroups();
		verifyGroupDeleted(oldList, newList);
	}
}
